home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
util
/
boot
/
BlizKick.lha
/
BlizKick
/
bkapi.lha
/
bkapi
/
SMakefile
< prev
next >
Wrap
Makefile
|
2000-01-15
|
743b
|
41 lines
#
# bkapi makefile for SAS/C
#
MAKE = smake
ADOC = autodoc -a -C -c -I
### c defines ###
SCOPTS = CPU=68020 PARMS=REGISTER OPTIMIZE OPTSIZE
#SCOPTS = CPU=68020 PARMS=REGISTER OPTIMIZE OPTSIZE DEBUG=l
CC = sc
LINK = slink
SLO = SMALLCODE SMALLDATA NODEBUG
#SLO = SMALLCODE SMALLDATA
OBJS = bkapi.o
HDRS = myregargs.h bkapi.h
# modify/add stuff here
all: loadresident bkapi.doc
clean:
-Delete loadresident bkapi.doc \#?.(info|tmp|lnk|o) QUIET
bkapi.doc: bkapi.c
$(ADOC) bkapi.c >$@
bkapi.o: bkapi.c bkapi.h
$(CC) bkapi.c $(SCOPTS) OBJNAME=$@
loadresident.o: loadresident.c $(HDRS)
$(CC) loadresident.c $(SCOPTS) OBJNAME=$@
loadresident: $(OBJS) loadresident.o
$(LINK) FROM loadresident.o $(OBJS) LIB lib:sc.lib $(SLO) TO $@